package com.xy.xylive.hstapi;

import lombok.Data;

@Data
public class HstApiResult<T> {
    private int resCode;
    private String resMessage;
    private T data;

    public boolean isSuccess() {
        return resCode == 1;
    }
}
